package com.quanyan.authority.service;


import com.quanyan.authority.model.db.TbMenu;
import com.quanyan.authority.model.request.ReqMenu;
import com.quanyan.authority.model.response.RespLogin;
import com.quanyan.authority.model.response.RespMenu;
import com.quanyan.authority.service.base.IService;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2016/8/1.
 */
public interface MenuService extends IService<ReqMenu,TbMenu> {

    public void initMenu();

    /**
     * 获取用户所拥有菜单
     * @param uid
     * @return
     */
    public Map<String,Object> getUserMenu(Integer uid);

    public List<TbMenu> getMenuOne();

    public RespLogin getUserMenuNew(Integer uid);

    }
